home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5723 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  794 b 

  1. Path: unlinfo.unl.edu!jaffe
  2. From: jaffe@unlinfo.unl.edu (david jaffe)
  3. Newsgroups: comp.lang.c++
  4. Subject: mallinfo (memory usage) under GNU compiler
  5. Date: 6 Feb 1996 15:18:25 GMT
  6. Organization: University of Nebraska--Lincoln    
  7. Distribution: world
  8. Message-ID: <4f7rg1$k45@crcnis3.unl.edu>
  9. NNTP-Posting-Host: unlinfo2.unl.edu
  10.  
  11. I want to know how much memory is "in use".  I'm using GNU g++ version
  12. 2.6.something.  I include <malloc.h>, refer to the number
  13. mallinfo( ).arena in the code, and compile with -lmalloc.  But I think 
  14. this may be giving me the wrong malloc routine, because according to the
  15. manual, libg++ contains its own version of malloc.  Am I doing the right
  16. thing?
  17.  
  18. David Jaffe
  19. Department of Mathematics and Statistics
  20. University of Nebraska - Lincoln
  21. e-mail: jaffe@cpthree.unl.edu
  22.